/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Domain;

/**
 *
 * @author Min0
 */
public class Customer extends Person {
    
    private float Bill;
    private float Deposit;
    private int BookedActivities;
    private int MaxBookedActivitiesPerDay = 4;
    
    public Customer()
    {}
    
    public Customer(float Bill, float Deposit, String Name, String Address, String Country, String PhoneNo,String Email, String LoginID)
    {
        super(Name, Address, Country, PhoneNo, Email, LoginID);
        this.Bill = Bill;
        this.Deposit = Deposit;
    }

    /**
     * @return the Bill
     */
    public float getBill() {
        return Bill;
    }

    /**
     * @param Bill the Bill to set
     */
    public void setBill(float Bill) {
        this.Bill = Bill;
    }
    
    public void IncreaseBill(float Amount)
    {
        this.Bill += Amount;
    }
    
    public void DecreaseBill(float Amount)
    {
        this.Bill -= Amount;
    }

    /**
     * @return the Deposit
     */
    public float getDeposit() {
        return Deposit;
    }

    /**
     * @param Deposit the Deposit to set
     */
    public void setDeposit(float Deposit) {
        this.Deposit = Deposit;
    }

    /**
     * @return the BookedActivities
     */
    public int getBookedActivities() {
        return BookedActivities;
    }

    /**
     * @param BookedActivities the BookedActivities to set
     */
    public void setBookedActivities(int BookedActivities) {
        this.BookedActivities = BookedActivities;
    }

    /**
     * @return the MaxBookedActivitiesPerDay
     */
    public int getMaxBookedActivitiesPerDay() {
        return MaxBookedActivitiesPerDay;
    }

    /**
     * @param MaxBookedActivitiesPerDay the MaxBookedActivitiesPerDay to set
     */
    public void setMaxBookedActivitiesPerDay(int MaxBookedActivitiesPerDay)
    {
        this.MaxBookedActivitiesPerDay = MaxBookedActivitiesPerDay;
    }
    
    public String toString()
    {
        return "\nName: "+getName()+"\nDeposit: "+getDeposit()+"\nLoginID: "+getLoginID();
    }
}
